/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module OPT.c - Operation Parameter Table Header file |
   @end
   
$Log: /SoftPay/SPK2SIM/Source/Config/opt.h $ 
 * 
 * 5     11/30/99 3:23p Kevin_v1
 * Removed File Name Message file usage
 * 
 * 4     11/02/99 4:29p Kevin_v1
 * Move Transaction Message from TRT to Menu file.  Implement Menu
 * redisplay flag and multiple line menu messages
 * 
 * 3     10/19/99 4:05p Kevin_v1
 * Install COLD_INIT_OPERATION
 * 
 * 2     9/13/99 8:30a Chris_s1
 * Changes made to primarily prototypes to conform to the Motorola 68000
 * format...
 * 
 * 1     7/19/99 5:32p Jim_b4
 * 
 * 1     7/19/99 4:10p Jim_b4
 * 
 * 3     6/23/99 5:28p Jim_b4
 * 
 * 2     6/09/99 11:18a Monique_b1
 * Change headers and file names for SP 2000
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/

#ifndef VSOPT_H
#define VSOPT_H

#ifndef CONFIG_PROTOTYPE_ALL
#include "ConfProto.h"
#endif
#define OPT_FILE_NAME         "opt"
#define MAX_OPT_FIELDS  20


typedef struct TagOPT
{
	short inOperationCode;
    short shFunctionPtrs [MAX_OPT_FIELDS];
} OPT_REC;

#define SIZE_OPT_REC  REC_SIZEOF(OPT_REC)

extern OPT_REC srOPTRec;

int inLoadOPTRec (int inOperationCode);

#define inGetOPTOperationCode()   	(int)srOPTRec.inOperationCode
#define pshGetOPTFunctionPtrs()		(void *)srOPTRec.shFunctionPtrs

#endif

